package com.example.sqldemo.strategy;


import org.springframework.stereotype.Component;

@Component
public class StrategyA implements Strategy{
    @Override
    public void print(String str) {
        System.out.println("策略模式: StrategyA ");
    }
}
